package com.gandong8.trace.biz.service.impl;

import com.gandong8.trace.biz.service.DemoProviderService;
import com.gandong8.trace.domain.dto.TestDTO;
import com.gandong8.trace.domain.vo.TestVO;
import org.apache.dubbo.config.annotation.Service;

@Service
public class DemoProviderServiceImpl implements DemoProviderService {
    @Override
    public String hello() {
        return "hello";
    }

    @Override
    public TestDTO hello(TestVO testVO) {
        TestDTO testDTO = new TestDTO();
        testDTO.setId(1);
        testDTO.setName("hello");
        return testDTO;
    }
}
